package com.wyh.common.utils;

import java.text.DecimalFormat;
import java.util.Random;
/*
*
* 6位验证码生成工具类
*
* */
public class RandomUtils {

    private static final Random random = new Random();


    private static final DecimalFormat sixdf = new DecimalFormat("000000");



    public static String getSixBitRandom() {
        return sixdf.format(random.nextInt(1000000));
    }



}
